package cn.lysj.framework.foodv2.vo;

import cn.lysj.framework.foodv2.domain.StandardLevOne;
import lombok.Data;

import javax.persistence.Column;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @Author: ZhangWenJian
 * @Create: 2018/11/6--16:26
 * @Description:
 */
@Data
public class FoodVo {
    private String id;
    private String name;
    private BigDecimal money; //价格
    private String logo; //图片
    private Integer virtualSellNum;//虚拟销量
    private Integer actSellNum;//实际销量
    private String foodMaterial;//食物材料
    private String remark;//备注
    private Integer onSale; //是否上架 -1:否 ,1:是
    private List<StandVo> standVos;


    public FoodVo(String id, String name, BigDecimal money, String logo, Integer virtualSellNum, Integer actSellNum, String foodMaterial, String remark, Integer onSale) {
        this.id = id;
        this.name = name;
        this.money = money;
        this.logo = logo;
        this.virtualSellNum = virtualSellNum;
        this.actSellNum = actSellNum;
        this.foodMaterial = foodMaterial;
        this.remark = remark;
        this.onSale = onSale;
    }
}
